package com.jjyu.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("store_review")
public class StoreReview {
    @TableId
    private Integer reviewId;          // 评价ID
    private Integer restaurantId;       // 餐馆ID
    private Integer userId;             // 用户ID
    private Double rating;               // 评分
    private String comment;              // 评价内容
    private LocalDateTime createdAt;    // 创建时间
    private LocalDateTime updatedAt;    // 更新时间
}
